#pragma once

#include "driver/gpio.h"
#include "esp_log.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

#ifdef __cplusplus
extern "C" {
#endif

#define BUTTON_GPIO  GPIO_NUM_0

void buttton_init(void);
bool button_wait_press(uint32_t timeout_ms);

#ifdef __cplusplus
}
#endif

